  
  <? //echo '<pre>'; print_r($_SERVER); exit; ?>
    <ul>
		<h2><?php echo $heading_title; ?></h2>
      <?php if (!$logged) { ?>
	  <?php if(( ($_SERVER['QUERY_STRING'])== 'route=account/logout') ||(($_SERVER['QUERY_STRING'])== 'route=account/login')||(($_SERVER['QUERY_STRING'])== 'route=account/register')) { ?>
      <li><a href="<?php echo $login; ?>" class="active"><?php echo $text_login; ?></a> / <a href="<?php echo $register; ?>" class="active"><?php echo $text_register; ?></a></li>
	  <?} else { ?>
	  <li><a href="<?php echo $login; ?>" ><?php echo $text_login; ?></a> / <a href="<?php echo $register; ?>" ><?php echo $text_register; ?></a></li>
	  <?}?>
	  <?php if(($_SERVER['QUERY_STRING'])== 'route=account/forgotten') { ?>
      <li><a href="<?php echo $forgotten; ?>" class="active"><?php echo $text_forgotten; ?></a></li>
	  <?php } else{ ?>
	  <li><a href="<?php echo $forgotten; ?>"><?php echo $text_forgotten; ?></a></li>
	  <? } }?>
	  
      
	  
	  
	  <?php if(($_SERVER['QUERY_STRING'])== 'route=account/account') { ?>
	  <li><a href="<?php echo $account; ?>" class="active"><?php echo $text_account; ?></a></li>
	  <?php } else { ?>
	  <li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li>
	  <? } ?>
	  <?php if ($logged) { ?>
	  <?php if(($_SERVER['QUERY_STRING'])== 'route=account/edit') { ?>
      <li><a href="<?php echo $edit; ?>" class="active"><?php echo $text_edit; ?></a></li>
	  <?} else {?>
	  <li><a href="<?php echo $edit; ?>"><?php echo $text_edit; ?></a></li>
	  <?}?>
	  <?php if(($_SERVER['QUERY_STRING'])== 'route=account/password') { ?>
	  <li><a href="<?php echo $password; ?>" class="active"><?php echo $text_password; ?></a></li>
	  <?} else {?>
	  <li><a href="<?php echo $password; ?>"><?php echo $text_password; ?></a></li>
	  <?}?>
      <?php } ?>
	  
	  
	  
	  <?php if(($_SERVER['QUERY_STRING'])== 'route=account/address') { ?>
      <li><a href="<?php echo $address; ?>" class="active"><?php echo $text_address; ?></a></li>
	  <?} else {?>
	  <li><a href="<?php echo $address; ?>"><?php echo $text_address; ?></a></li>
	  <?}?>
	  
      <!--<li><a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist; ?></a></li>-->
	  
	  <?php if(($_SERVER['QUERY_STRING'])== 'route=account/order') { ?>
      <li><a href="<?php echo $order; ?>" class="active"><?php echo $text_order; ?></a></li>
	  <?} else {?>
	  <li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
	  <?}?>
	  
	  <?php if(($_SERVER['QUERY_STRING'])== 'route=account/download') { ?>
      <li><a href="<?php echo $download; ?>" class="active"><?php echo $text_download; ?></a></li>
	  <?} else {?>
	  <li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li>
	  <?}?>
      
      <!--<li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>-->
	  
	  <?php if(($_SERVER['QUERY_STRING'])== 'route=account/transaction') { ?>
      <li><a href="<?php echo $transaction; ?>" class="active"><?php echo $text_transaction; ?></a></li>
	  <?} else {?>
	  <li><a href="<?php echo $transaction; ?>"><?php echo $text_transaction; ?></a></li>
	  <?}?>
      
	  <?php if(($_SERVER['QUERY_STRING'])== 'route=account/newsletter') { ?>
      <li><a href="<?php echo $newsletter; ?>" class="active"><?php echo $text_newsletter; ?></a></li>
	  <?} else {?>
	  <li><a href="<?php echo $newsletter; ?>"><?php echo $text_newsletter; ?></a></li>
	  <?}?>
      
	  
	  
      <?php if ($logged) { ?>
      <li><a href="<?php echo $logout; ?>"><?php echo $text_logout; ?></a></li>
      <?php } ?>
    </ul>
  
